package com.test.java;

import java.util.Scanner;

/**
 * 给定区间[-2的31次方, 2的31次方]内的3个整数A、B和C，请判断A+B是否大于C。
 * =============================================================
 * Version          Author          Date            Description
 * 1.0              白建         2017/12/13             创建
 * =============================================================
 */
public class Java_3
{

    private static short SIZE;

    private static String[] input;

    public static void main(String[] args)
            throws Exception
    {

        init();
        process();
    }

    private static void init()
    {

        Scanner scanner = new Scanner(System.in);
        SIZE = scanner.nextShort();
        input = new String[SIZE];

        scanner.nextLine(); //to flush the character \n
        for (int i = 0; i < SIZE; i++)
        {
            input[i] = scanner.nextLine();
        }
    }

    private static void process()
            throws Exception
    {

        for (int i = 0; i < SIZE; i++)
        {
            if (input[i].contains(" "))
            {
                String[] strings = input[i].split(" ");
                if (strings.length == 3)
                {
                    if (Long.parseLong(strings[0]) + Long.parseLong(strings[1]) > Long.parseLong(strings[2]))
                    {
                        System.out.println("Case #" + (i + 1) + ": true");
                    }
                    else
                    {
                        System.out.println("Case #" + (i + 1) + ": false");
                    }
                }
                else
                {
                    throw new Exception("字符串切割失败！");
                }
            }
        }
    }
}
